
@mixin break ($size, $value: 0) {
  @if($size == large) {
    @media (max-width: $large) {
      @content
    }
  }
  @else if($size == medium) {
    @media (max-width: $medium) {
      @content
    }
  }
  @else if($size == small) {
    @media (max-width: $small) {
      @content
    }
  }
  @else if($size == x-small) {
    @media (max-width: $x-small) {
      @content
    }
  }
  @else if($size == max) {
    @media (max-width: $value) {
      @content
    }
  }
}

@mixin break-max($size) {
  @media (max-width: $size) {
    @content
  }
}

@mixin break-min($size) {
  @media (min-width: $size) {
    @content
  }
}